package NguyenNgocHungBaiTapMVCPart02;

public class Stock {

		private String symbol;
		private String name;
		private double previousClosingPricc;
		private double currentPrice;
		
		public Stock(String symbol, String name) {
			super();
			this.symbol = symbol;
			this.name = name;
		}
		
		public Stock(){
			
		}

		/**
		 * @return the symbol
		 */
		public String getSymbol() {
			return symbol;
		}

		/**
		 * @param symbol the symbol to set
		 */
		public void setSymbol(String symbol) {
			this.symbol = symbol;
		}

		/**
		 * @return the name
		 */
		public String getName() {
			return name;
		}

		/**
		 * @param name the name to set
		 */
		public void setName(String name) {
			this.name = name;
		}

		/**
		 * @return the previousClosingPricc
		 */
		public double getPreviousClosingPricc() {
			return previousClosingPricc;
		}

		/**
		 * @param previousClosingPricc the previousClosingPricc to set
		 */
		public void setPreviousClosingPricc(double previousClosingPricc) {
			this.previousClosingPricc = previousClosingPricc;
		}

		/**
		 * @return the currentPrice
		 */
		public double getCurrentPrice() {
			return currentPrice;
		}

		/**
		 * @param currentPrice the currentPrice to set
		 */
		public void setCurrentPrice(double currentPrice) {
			this.currentPrice = currentPrice;
		}
		
		
}
